package com.cn.jinl.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class LinePeiExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LinePeiExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeIsNull() {
            addCriterion("device_code is null");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeIsNotNull() {
            addCriterion("device_code is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeEqualTo(String value) {
            addCriterion("device_code =", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeNotEqualTo(String value) {
            addCriterion("device_code <>", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeGreaterThan(String value) {
            addCriterion("device_code >", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeGreaterThanOrEqualTo(String value) {
            addCriterion("device_code >=", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeLessThan(String value) {
            addCriterion("device_code <", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeLessThanOrEqualTo(String value) {
            addCriterion("device_code <=", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeLike(String value) {
            addCriterion("device_code like", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeNotLike(String value) {
            addCriterion("device_code not like", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeIn(List<String> values) {
            addCriterion("device_code in", values, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeNotIn(List<String> values) {
            addCriterion("device_code not in", values, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeBetween(String value1, String value2) {
            addCriterion("device_code between", value1, value2, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeNotBetween(String value1, String value2) {
            addCriterion("device_code not between", value1, value2, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andGpNameIsNull() {
            addCriterion("gp_name is null");
            return (Criteria) this;
        }

        public Criteria andGpNameIsNotNull() {
            addCriterion("gp_name is not null");
            return (Criteria) this;
        }

        public Criteria andGpNameEqualTo(String value) {
            addCriterion("gp_name =", value, "gpName");
            return (Criteria) this;
        }

        public Criteria andGpNameNotEqualTo(String value) {
            addCriterion("gp_name <>", value, "gpName");
            return (Criteria) this;
        }

        public Criteria andGpNameGreaterThan(String value) {
            addCriterion("gp_name >", value, "gpName");
            return (Criteria) this;
        }

        public Criteria andGpNameGreaterThanOrEqualTo(String value) {
            addCriterion("gp_name >=", value, "gpName");
            return (Criteria) this;
        }

        public Criteria andGpNameLessThan(String value) {
            addCriterion("gp_name <", value, "gpName");
            return (Criteria) this;
        }

        public Criteria andGpNameLessThanOrEqualTo(String value) {
            addCriterion("gp_name <=", value, "gpName");
            return (Criteria) this;
        }

        public Criteria andGpNameLike(String value) {
            addCriterion("gp_name like", value, "gpName");
            return (Criteria) this;
        }

        public Criteria andGpNameNotLike(String value) {
            addCriterion("gp_name not like", value, "gpName");
            return (Criteria) this;
        }

        public Criteria andGpNameIn(List<String> values) {
            addCriterion("gp_name in", values, "gpName");
            return (Criteria) this;
        }

        public Criteria andGpNameNotIn(List<String> values) {
            addCriterion("gp_name not in", values, "gpName");
            return (Criteria) this;
        }

        public Criteria andGpNameBetween(String value1, String value2) {
            addCriterion("gp_name between", value1, value2, "gpName");
            return (Criteria) this;
        }

        public Criteria andGpNameNotBetween(String value1, String value2) {
            addCriterion("gp_name not between", value1, value2, "gpName");
            return (Criteria) this;
        }

        public Criteria andZlValueIsNull() {
            addCriterion("zl_value is null");
            return (Criteria) this;
        }

        public Criteria andZlValueIsNotNull() {
            addCriterion("zl_value is not null");
            return (Criteria) this;
        }

        public Criteria andZlValueEqualTo(String value) {
            addCriterion("zl_value =", value, "zlValue");
            return (Criteria) this;
        }

        public Criteria andZlValueNotEqualTo(String value) {
            addCriterion("zl_value <>", value, "zlValue");
            return (Criteria) this;
        }

        public Criteria andZlValueGreaterThan(String value) {
            addCriterion("zl_value >", value, "zlValue");
            return (Criteria) this;
        }

        public Criteria andZlValueGreaterThanOrEqualTo(String value) {
            addCriterion("zl_value >=", value, "zlValue");
            return (Criteria) this;
        }

        public Criteria andZlValueLessThan(String value) {
            addCriterion("zl_value <", value, "zlValue");
            return (Criteria) this;
        }

        public Criteria andZlValueLessThanOrEqualTo(String value) {
            addCriterion("zl_value <=", value, "zlValue");
            return (Criteria) this;
        }

        public Criteria andZlValueLike(String value) {
            addCriterion("zl_value like", value, "zlValue");
            return (Criteria) this;
        }

        public Criteria andZlValueNotLike(String value) {
            addCriterion("zl_value not like", value, "zlValue");
            return (Criteria) this;
        }

        public Criteria andZlValueIn(List<String> values) {
            addCriterion("zl_value in", values, "zlValue");
            return (Criteria) this;
        }

        public Criteria andZlValueNotIn(List<String> values) {
            addCriterion("zl_value not in", values, "zlValue");
            return (Criteria) this;
        }

        public Criteria andZlValueBetween(String value1, String value2) {
            addCriterion("zl_value between", value1, value2, "zlValue");
            return (Criteria) this;
        }

        public Criteria andZlValueNotBetween(String value1, String value2) {
            addCriterion("zl_value not between", value1, value2, "zlValue");
            return (Criteria) this;
        }

        public Criteria andFlValueIsNull() {
            addCriterion("fl_value is null");
            return (Criteria) this;
        }

        public Criteria andFlValueIsNotNull() {
            addCriterion("fl_value is not null");
            return (Criteria) this;
        }

        public Criteria andFlValueEqualTo(String value) {
            addCriterion("fl_value =", value, "flValue");
            return (Criteria) this;
        }

        public Criteria andFlValueNotEqualTo(String value) {
            addCriterion("fl_value <>", value, "flValue");
            return (Criteria) this;
        }

        public Criteria andFlValueGreaterThan(String value) {
            addCriterion("fl_value >", value, "flValue");
            return (Criteria) this;
        }

        public Criteria andFlValueGreaterThanOrEqualTo(String value) {
            addCriterion("fl_value >=", value, "flValue");
            return (Criteria) this;
        }

        public Criteria andFlValueLessThan(String value) {
            addCriterion("fl_value <", value, "flValue");
            return (Criteria) this;
        }

        public Criteria andFlValueLessThanOrEqualTo(String value) {
            addCriterion("fl_value <=", value, "flValue");
            return (Criteria) this;
        }

        public Criteria andFlValueLike(String value) {
            addCriterion("fl_value like", value, "flValue");
            return (Criteria) this;
        }

        public Criteria andFlValueNotLike(String value) {
            addCriterion("fl_value not like", value, "flValue");
            return (Criteria) this;
        }

        public Criteria andFlValueIn(List<String> values) {
            addCriterion("fl_value in", values, "flValue");
            return (Criteria) this;
        }

        public Criteria andFlValueNotIn(List<String> values) {
            addCriterion("fl_value not in", values, "flValue");
            return (Criteria) this;
        }

        public Criteria andFlValueBetween(String value1, String value2) {
            addCriterion("fl_value between", value1, value2, "flValue");
            return (Criteria) this;
        }

        public Criteria andFlValueNotBetween(String value1, String value2) {
            addCriterion("fl_value not between", value1, value2, "flValue");
            return (Criteria) this;
        }

        public Criteria andSmValueIsNull() {
            addCriterion("sm_value is null");
            return (Criteria) this;
        }

        public Criteria andSmValueIsNotNull() {
            addCriterion("sm_value is not null");
            return (Criteria) this;
        }

        public Criteria andSmValueEqualTo(String value) {
            addCriterion("sm_value =", value, "smValue");
            return (Criteria) this;
        }

        public Criteria andSmValueNotEqualTo(String value) {
            addCriterion("sm_value <>", value, "smValue");
            return (Criteria) this;
        }

        public Criteria andSmValueGreaterThan(String value) {
            addCriterion("sm_value >", value, "smValue");
            return (Criteria) this;
        }

        public Criteria andSmValueGreaterThanOrEqualTo(String value) {
            addCriterion("sm_value >=", value, "smValue");
            return (Criteria) this;
        }

        public Criteria andSmValueLessThan(String value) {
            addCriterion("sm_value <", value, "smValue");
            return (Criteria) this;
        }

        public Criteria andSmValueLessThanOrEqualTo(String value) {
            addCriterion("sm_value <=", value, "smValue");
            return (Criteria) this;
        }

        public Criteria andSmValueLike(String value) {
            addCriterion("sm_value like", value, "smValue");
            return (Criteria) this;
        }

        public Criteria andSmValueNotLike(String value) {
            addCriterion("sm_value not like", value, "smValue");
            return (Criteria) this;
        }

        public Criteria andSmValueIn(List<String> values) {
            addCriterion("sm_value in", values, "smValue");
            return (Criteria) this;
        }

        public Criteria andSmValueNotIn(List<String> values) {
            addCriterion("sm_value not in", values, "smValue");
            return (Criteria) this;
        }

        public Criteria andSmValueBetween(String value1, String value2) {
            addCriterion("sm_value between", value1, value2, "smValue");
            return (Criteria) this;
        }

        public Criteria andSmValueNotBetween(String value1, String value2) {
            addCriterion("sm_value not between", value1, value2, "smValue");
            return (Criteria) this;
        }

        public Criteria andRatiosIsNull() {
            addCriterion("ratios is null");
            return (Criteria) this;
        }

        public Criteria andRatiosIsNotNull() {
            addCriterion("ratios is not null");
            return (Criteria) this;
        }

        public Criteria andRatiosEqualTo(String value) {
            addCriterion("ratios =", value, "ratios");
            return (Criteria) this;
        }

        public Criteria andRatiosNotEqualTo(String value) {
            addCriterion("ratios <>", value, "ratios");
            return (Criteria) this;
        }

        public Criteria andRatiosGreaterThan(String value) {
            addCriterion("ratios >", value, "ratios");
            return (Criteria) this;
        }

        public Criteria andRatiosGreaterThanOrEqualTo(String value) {
            addCriterion("ratios >=", value, "ratios");
            return (Criteria) this;
        }

        public Criteria andRatiosLessThan(String value) {
            addCriterion("ratios <", value, "ratios");
            return (Criteria) this;
        }

        public Criteria andRatiosLessThanOrEqualTo(String value) {
            addCriterion("ratios <=", value, "ratios");
            return (Criteria) this;
        }

        public Criteria andRatiosLike(String value) {
            addCriterion("ratios like", value, "ratios");
            return (Criteria) this;
        }

        public Criteria andRatiosNotLike(String value) {
            addCriterion("ratios not like", value, "ratios");
            return (Criteria) this;
        }

        public Criteria andRatiosIn(List<String> values) {
            addCriterion("ratios in", values, "ratios");
            return (Criteria) this;
        }

        public Criteria andRatiosNotIn(List<String> values) {
            addCriterion("ratios not in", values, "ratios");
            return (Criteria) this;
        }

        public Criteria andRatiosBetween(String value1, String value2) {
            addCriterion("ratios between", value1, value2, "ratios");
            return (Criteria) this;
        }

        public Criteria andRatiosNotBetween(String value1, String value2) {
            addCriterion("ratios not between", value1, value2, "ratios");
            return (Criteria) this;
        }

        public Criteria andTotalValueIsNull() {
            addCriterion("total_value is null");
            return (Criteria) this;
        }

        public Criteria andTotalValueIsNotNull() {
            addCriterion("total_value is not null");
            return (Criteria) this;
        }

        public Criteria andTotalValueEqualTo(String value) {
            addCriterion("total_value =", value, "totalValue");
            return (Criteria) this;
        }

        public Criteria andTotalValueNotEqualTo(String value) {
            addCriterion("total_value <>", value, "totalValue");
            return (Criteria) this;
        }

        public Criteria andTotalValueGreaterThan(String value) {
            addCriterion("total_value >", value, "totalValue");
            return (Criteria) this;
        }

        public Criteria andTotalValueGreaterThanOrEqualTo(String value) {
            addCriterion("total_value >=", value, "totalValue");
            return (Criteria) this;
        }

        public Criteria andTotalValueLessThan(String value) {
            addCriterion("total_value <", value, "totalValue");
            return (Criteria) this;
        }

        public Criteria andTotalValueLessThanOrEqualTo(String value) {
            addCriterion("total_value <=", value, "totalValue");
            return (Criteria) this;
        }

        public Criteria andTotalValueLike(String value) {
            addCriterion("total_value like", value, "totalValue");
            return (Criteria) this;
        }

        public Criteria andTotalValueNotLike(String value) {
            addCriterion("total_value not like", value, "totalValue");
            return (Criteria) this;
        }

        public Criteria andTotalValueIn(List<String> values) {
            addCriterion("total_value in", values, "totalValue");
            return (Criteria) this;
        }

        public Criteria andTotalValueNotIn(List<String> values) {
            addCriterion("total_value not in", values, "totalValue");
            return (Criteria) this;
        }

        public Criteria andTotalValueBetween(String value1, String value2) {
            addCriterion("total_value between", value1, value2, "totalValue");
            return (Criteria) this;
        }

        public Criteria andTotalValueNotBetween(String value1, String value2) {
            addCriterion("total_value not between", value1, value2, "totalValue");
            return (Criteria) this;
        }

        public Criteria andPlUserNameIsNull() {
            addCriterion("pl_user_name is null");
            return (Criteria) this;
        }

        public Criteria andPlUserNameIsNotNull() {
            addCriterion("pl_user_name is not null");
            return (Criteria) this;
        }

        public Criteria andPlUserNameEqualTo(String value) {
            addCriterion("pl_user_name =", value, "plUserName");
            return (Criteria) this;
        }

        public Criteria andPlUserNameNotEqualTo(String value) {
            addCriterion("pl_user_name <>", value, "plUserName");
            return (Criteria) this;
        }

        public Criteria andPlUserNameGreaterThan(String value) {
            addCriterion("pl_user_name >", value, "plUserName");
            return (Criteria) this;
        }

        public Criteria andPlUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("pl_user_name >=", value, "plUserName");
            return (Criteria) this;
        }

        public Criteria andPlUserNameLessThan(String value) {
            addCriterion("pl_user_name <", value, "plUserName");
            return (Criteria) this;
        }

        public Criteria andPlUserNameLessThanOrEqualTo(String value) {
            addCriterion("pl_user_name <=", value, "plUserName");
            return (Criteria) this;
        }

        public Criteria andPlUserNameLike(String value) {
            addCriterion("pl_user_name like", value, "plUserName");
            return (Criteria) this;
        }

        public Criteria andPlUserNameNotLike(String value) {
            addCriterion("pl_user_name not like", value, "plUserName");
            return (Criteria) this;
        }

        public Criteria andPlUserNameIn(List<String> values) {
            addCriterion("pl_user_name in", values, "plUserName");
            return (Criteria) this;
        }

        public Criteria andPlUserNameNotIn(List<String> values) {
            addCriterion("pl_user_name not in", values, "plUserName");
            return (Criteria) this;
        }

        public Criteria andPlUserNameBetween(String value1, String value2) {
            addCriterion("pl_user_name between", value1, value2, "plUserName");
            return (Criteria) this;
        }

        public Criteria andPlUserNameNotBetween(String value1, String value2) {
            addCriterion("pl_user_name not between", value1, value2, "plUserName");
            return (Criteria) this;
        }

        public Criteria andPlUserIdIsNull() {
            addCriterion("pl_user_id is null");
            return (Criteria) this;
        }

        public Criteria andPlUserIdIsNotNull() {
            addCriterion("pl_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlUserIdEqualTo(String value) {
            addCriterion("pl_user_id =", value, "plUserId");
            return (Criteria) this;
        }

        public Criteria andPlUserIdNotEqualTo(String value) {
            addCriterion("pl_user_id <>", value, "plUserId");
            return (Criteria) this;
        }

        public Criteria andPlUserIdGreaterThan(String value) {
            addCriterion("pl_user_id >", value, "plUserId");
            return (Criteria) this;
        }

        public Criteria andPlUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("pl_user_id >=", value, "plUserId");
            return (Criteria) this;
        }

        public Criteria andPlUserIdLessThan(String value) {
            addCriterion("pl_user_id <", value, "plUserId");
            return (Criteria) this;
        }

        public Criteria andPlUserIdLessThanOrEqualTo(String value) {
            addCriterion("pl_user_id <=", value, "plUserId");
            return (Criteria) this;
        }

        public Criteria andPlUserIdLike(String value) {
            addCriterion("pl_user_id like", value, "plUserId");
            return (Criteria) this;
        }

        public Criteria andPlUserIdNotLike(String value) {
            addCriterion("pl_user_id not like", value, "plUserId");
            return (Criteria) this;
        }

        public Criteria andPlUserIdIn(List<String> values) {
            addCriterion("pl_user_id in", values, "plUserId");
            return (Criteria) this;
        }

        public Criteria andPlUserIdNotIn(List<String> values) {
            addCriterion("pl_user_id not in", values, "plUserId");
            return (Criteria) this;
        }

        public Criteria andPlUserIdBetween(String value1, String value2) {
            addCriterion("pl_user_id between", value1, value2, "plUserId");
            return (Criteria) this;
        }

        public Criteria andPlUserIdNotBetween(String value1, String value2) {
            addCriterion("pl_user_id not between", value1, value2, "plUserId");
            return (Criteria) this;
        }

        public Criteria andPlStatusIsNull() {
            addCriterion("pl_status is null");
            return (Criteria) this;
        }

        public Criteria andPlStatusIsNotNull() {
            addCriterion("pl_status is not null");
            return (Criteria) this;
        }

        public Criteria andPlStatusEqualTo(String value) {
            addCriterion("pl_status =", value, "plStatus");
            return (Criteria) this;
        }

        public Criteria andPlStatusNotEqualTo(String value) {
            addCriterion("pl_status <>", value, "plStatus");
            return (Criteria) this;
        }

        public Criteria andPlStatusGreaterThan(String value) {
            addCriterion("pl_status >", value, "plStatus");
            return (Criteria) this;
        }

        public Criteria andPlStatusGreaterThanOrEqualTo(String value) {
            addCriterion("pl_status >=", value, "plStatus");
            return (Criteria) this;
        }

        public Criteria andPlStatusLessThan(String value) {
            addCriterion("pl_status <", value, "plStatus");
            return (Criteria) this;
        }

        public Criteria andPlStatusLessThanOrEqualTo(String value) {
            addCriterion("pl_status <=", value, "plStatus");
            return (Criteria) this;
        }

        public Criteria andPlStatusLike(String value) {
            addCriterion("pl_status like", value, "plStatus");
            return (Criteria) this;
        }

        public Criteria andPlStatusNotLike(String value) {
            addCriterion("pl_status not like", value, "plStatus");
            return (Criteria) this;
        }

        public Criteria andPlStatusIn(List<String> values) {
            addCriterion("pl_status in", values, "plStatus");
            return (Criteria) this;
        }

        public Criteria andPlStatusNotIn(List<String> values) {
            addCriterion("pl_status not in", values, "plStatus");
            return (Criteria) this;
        }

        public Criteria andPlStatusBetween(String value1, String value2) {
            addCriterion("pl_status between", value1, value2, "plStatus");
            return (Criteria) this;
        }

        public Criteria andPlStatusNotBetween(String value1, String value2) {
            addCriterion("pl_status not between", value1, value2, "plStatus");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andWhiteDayIsNull() {
            addCriterion("white_day is null");
            return (Criteria) this;
        }

        public Criteria andWhiteDayIsNotNull() {
            addCriterion("white_day is not null");
            return (Criteria) this;
        }

        public Criteria andWhiteDayEqualTo(String value) {
            addCriterion("white_day =", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayNotEqualTo(String value) {
            addCriterion("white_day <>", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayGreaterThan(String value) {
            addCriterion("white_day >", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayGreaterThanOrEqualTo(String value) {
            addCriterion("white_day >=", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayLessThan(String value) {
            addCriterion("white_day <", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayLessThanOrEqualTo(String value) {
            addCriterion("white_day <=", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayLike(String value) {
            addCriterion("white_day like", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayNotLike(String value) {
            addCriterion("white_day not like", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayIn(List<String> values) {
            addCriterion("white_day in", values, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayNotIn(List<String> values) {
            addCriterion("white_day not in", values, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayBetween(String value1, String value2) {
            addCriterion("white_day between", value1, value2, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayNotBetween(String value1, String value2) {
            addCriterion("white_day not between", value1, value2, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayIsNull() {
            addCriterion("duty_day is null");
            return (Criteria) this;
        }

        public Criteria andDutyDayIsNotNull() {
            addCriterion("duty_day is not null");
            return (Criteria) this;
        }

        public Criteria andDutyDayEqualTo(String value) {
            addCriterion("duty_day =", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayNotEqualTo(String value) {
            addCriterion("duty_day <>", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayGreaterThan(String value) {
            addCriterion("duty_day >", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayGreaterThanOrEqualTo(String value) {
            addCriterion("duty_day >=", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayLessThan(String value) {
            addCriterion("duty_day <", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayLessThanOrEqualTo(String value) {
            addCriterion("duty_day <=", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayLike(String value) {
            addCriterion("duty_day like", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayNotLike(String value) {
            addCriterion("duty_day not like", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayIn(List<String> values) {
            addCriterion("duty_day in", values, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayNotIn(List<String> values) {
            addCriterion("duty_day not in", values, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayBetween(String value1, String value2) {
            addCriterion("duty_day between", value1, value2, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayNotBetween(String value1, String value2) {
            addCriterion("duty_day not between", value1, value2, "dutyDay");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}